package main

import "fmt"

func main() {

	// panic: runtime error: index out of range [20] with length 10
	testaa(20)
}

func testaa(x int) {
	var a [10]int
	zz := kk{1, 2, 3, 4, 5, 6, 7, 8, 9, 11}
	fmt.Println(zz)
	a[x] = 11
}

type kk [10]int
